/*
 * Copyright 2012 NJUT  qixiaobo. All rights reserved.
 */
package com.fujitsu.nanjing.tieba.base;

import java.util.List;

/**
 * BaseDomain.java
 * 
 * @author Qixiaobo-win8
 */
public class BaseDomain<T, E> {

	public int countByExample(E example) {
		return 0;

	}

	public int deleteByExample(E example) {
		return 0;

	}

	public int deleteByPrimaryKey(Long id) {
		return 0;

	}

	public void insert(T record) {

	}

	public void insertSelective(T record) {

	}

	public List<T> selectByExample(E example) {
		return null;

	}

	public T selectByPrimaryKey(Long id) {
		return null;

	}

	public int updateByExampleSelective(T record, E example) {
		return 0;

	}

	public int updateByExample(T record, E example) {
		return 0;

	}

	public int updateByPrimaryKeySelective(T record) {
		return 0;

	}

	public int updateByPrimaryKey(T record) {
		return 0;

	}
}
